<ul class="nav nav-tabs">

    {if $_G['isSuperAdmin']}
    <li {if $action == 7}class="active"{/if}><a href="{php echo createWebUrlPlugin('education.setting',array('themeid'=>$themeid,'action'=>7));}">功能设置</a></li>
    <li {if $action == 72}class="active"{/if}><a href="{php echo createWebUrlPlugin('education.setting',array('themeid'=>$themeid,'action'=>72));}">样式设置</a></li>
    {/if}
    <li {if $action == 5}class="active"{/if}><a href="{php echo createWebUrlPlugin('education',array('themeid'=>$themeid,'action'=>5));}">课程设置</a></li>
    <li {if $action == 6}class="active"{/if}><a href="{php echo createWebUrlPlugin('education.gift',array('themeid'=>$themeid,'action'=>6));}">礼品设置</a></li>
    <li {if $action < 2}class="active"{/if}><a href="{php echo createWebUrl('shangjia');}">商家</a></li>
    {if $_G['isSuperAdmin']}
    {if $open_shangjia_rules}
    <li {if $action == 71}class="active"{/if}><a href="{php echo createWebUrlPlugin('education.category',array('themeid'=>$themeid,'action'=>71));}">分类设置</a></li>
    {/if}
    {/if}
    <li {if $action == 11}class="active"{/if}><a href="{php echo createWebUrlPlugin('education.info',array('themeid'=>$themeid,'action'=>11));}">新合伙人</a></li>

    <div class="form-group">
        <form id = "myform" action="./index.php" method="get" class="form-horizontal" role="form">
            <input type="hidden" name="c" value="site" />
            <input type="hidden" name="a" value="entry" />
            <input type="hidden" name="m" value="{$_P['m']}" />
            <input type="hidden" name="do" value="{$do}" />
            <input type="hidden" name="op" value="{$op}" />
            {if count($themelist)>1 }
            <div class="col-sm-3 control-label" style="float: right;">
                <select onchange="submitForm();" class="form-control" name="themeid">
                    {loop $themelist $row}
                    <option value="{$row['id']}" {if $themeid == $row['id'] }selected="selected"{/if}>{$row['id']} - {php echo mb_substr($row['title'],0,8,'utf-8');}</option>
                    {/loop}
                </select>
            </div>
            {/if}
        </form>
    </div>
</ul>